#!/usr/bin/python

import sys, os

sys.path.append('/www/vidastream.net/django/')
os.environ['DJANGO_SETTINGS_MODULE'] = 'vidastream.settings'

from vidastream.stream.models import Feed
from vidastream.mycache.models import Cache

feeds = Feed.objects.all()

for feed in feeds:
	if not feed.disabled:	
		feed.update_entries()
